package com.kmxd.ams.client.archive;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kmxd.ams.client.archive.dto.ArchiveRelationSettingAddDTO;
import com.kmxd.ams.client.archive.dto.ArchiveRelationSettingEditDTO;
import com.kmxd.ams.client.archive.dto.ArchiveRelationSettingQueryDTO;
import com.kmxd.ams.client.archive.vo.ArchiveRelationSettingListVO;
import com.kmxd.ams.client.archive.vo.ArchiveRelationSettingVO;
import com.kmxd.ams.infra.archive.entity.ArchiveRelationSetting;
import java.util.List;

/**
 * 门类关联设置 服务类
 *
 * @author nickbi
 * @since 2022-07-20
 */
public interface IArchiveRelationSettingSvc extends IService<ArchiveRelationSetting> {

  /**
   * 分页查询
   *
   * @param reqPage
   * @param req
   * @return
   */
  Page<ArchiveRelationSettingListVO> selectPage(Page reqPage, ArchiveRelationSettingQueryDTO req);

  /**
   * 查询列表
   *
   * @param req
   * @return
   */
  List<ArchiveRelationSettingListVO> selectList(ArchiveRelationSettingQueryDTO req);

  /**
   * 新增
   *
   * @param req
   */
  void add(ArchiveRelationSettingAddDTO req);

  /**
   * 修改
   *
   * @param req
   */
  void edit(ArchiveRelationSettingEditDTO req);

  /**
   * 删除
   *
   * @param ids
   */
  void remove(String ids);

  /**
   * 查看
   *
   * @param id
   * @return
   */
  ArchiveRelationSettingVO view(ArchiveRelationSettingQueryDTO req);
}
